import Vue from 'vue';
// 1. 引入vue-router
import VueRouter from 'vue-router'

// 2. vue安装router路由
Vue.use(VueRouter);

import app from './App.vue'

import router from './router.js'

var vm = new Vue({
    el: "#app",

    render: c => c(app),
    // 挂载路由
    router
});
